Skip to content

Conversation

@seialkali
Copy link
Contributor

@seialkali seialkali commented Oct 31, 2025

Summary

This PR adds FTR test for the Getting Started page, as well as a fix for a bug that was picked up by the tests.

NOTE: I'm aware we should be moving over to Scout, but I thought it might be easier (for me at least) to get these tests up and running first and then convert them to Scout afterwards.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

@seialkali seialkali requested a review from a team as a code owner October 31, 2025 11:19
@seialkali seialkali added the release_note:skip Skip the PR/issue when compiling release notes label Oct 31, 2025
@seialkali seialkali requested a review from a team as a code owner October 31, 2025 11:19
@seialkali seialkali added backport:skip This PR does not require backporting Team:Search v9.3.0 labels Oct 31, 2025
Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

x-pack/solutions/search/test/serverless/functional/configs/config.ts changes LGTM

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#9695

[❌] x-pack/solutions/search/test/serverless/functional/configs/config.feature_flags.ts: 0/25 tests passed.
[✅] x-pack/solutions/search/test/functional_search/config/config.feature_flags.ts: 25/25 tests passed.

see run history

@seialkali seialkali force-pushed the getting-started-ftr-page-object branch from bf04daf to e148107 Compare October 31, 2025 13:14
@seialkali seialkali requested a review from a team as a code owner October 31, 2025 13:14
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#9697

[❌] x-pack/solutions/search/test/serverless/functional/configs/config.feature_flags.ts: 0/25 tests passed.
[❌] x-pack/solutions/search/test/functional_search/config/config.feature_flags.ts: 23/25 tests passed.

see run history

@seialkali seialkali force-pushed the getting-started-ftr-page-object branch from e148107 to 19868e2 Compare October 31, 2025 16:45
@seialkali seialkali force-pushed the getting-started-ftr-page-object branch from 19868e2 to e3ab2e0 Compare October 31, 2025 16:49
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#9702

[❌] x-pack/solutions/search/test/serverless/functional/configs/config.feature_flags.ts: 0/25 tests passed.
[❌] x-pack/solutions/search/test/functional_search/config/config.feature_flags.ts: 0/25 tests passed.

see run history

@seialkali seialkali force-pushed the getting-started-ftr-page-object branch from e3ab2e0 to 1ed17e0 Compare November 3, 2025 17:26
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#9720

[❌] x-pack/solutions/search/test/functional_search/config/config.feature_flags.ts: 0/25 tests passed.
[❌] x-pack/solutions/search/test/serverless/functional/configs/config.feature_flags.ts: 16/25 tests passed.

see run history

@seialkali seialkali force-pushed the getting-started-ftr-page-object branch from 1ed17e0 to a417cda Compare November 4, 2025 21:49
searchHomepage: {
pathname: '/app/elasticsearch/home',
},
searchGettingStarted: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I defined this in the base config instead of the feature flag config because it will need to be added here anyway once the FF is removed

searchQueryRules: {
pathname: '/app/elasticsearch/query_rules',
},
searchGettingStarted: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I defined this in the base config instead of the feature flag config because it will need to be added here anyway once the FF is removed

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#9741

[❌] x-pack/solutions/search/test/functional_search/config/config.feature_flags.ts: 24/25 tests passed.
[✅] x-pack/solutions/search/test/serverless/functional/configs/config.feature_flags.ts: 25/25 tests passed.

see run history

@seialkali seialkali force-pushed the getting-started-ftr-page-object branch from a417cda to 0e0b1b0 Compare November 5, 2025 09:20
@seialkali seialkali force-pushed the getting-started-ftr-page-object branch from 0e0b1b0 to 955b64d Compare November 5, 2025 10:00
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
searchGettingStarted 268 267 -1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
searchGettingStarted 155.0KB 154.8KB -149.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
searchGettingStarted 6.1KB 6.5KB +465.0B

History

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#9747

[✅] x-pack/solutions/search/test/serverless/functional/configs/config.feature_flags.ts: 25/25 tests passed.
[✅] x-pack/solutions/search/test/functional_search/config/config.feature_flags.ts: 25/25 tests passed.

see run history

Copy link
Contributor

@wildemat wildemat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job getting through this

@seialkali seialkali merged commit 2838fa6 into elastic:main Nov 5, 2025
12 checks passed
@seialkali seialkali deleted the getting-started-ftr-page-object branch November 5, 2025 14:19
wildemat pushed a commit to wildemat/kibana that referenced this pull request Nov 5, 2025
## Summary

This PR adds FTR test for the Getting Started page, as well as a fix for
a bug that was picked up by the tests.

NOTE: I'm aware we should be moving over to Scout, but I thought it
might be easier (for me at least) to get these tests up and running
first and then convert them to Scout afterwards.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] ~Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~
- [ ]
~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials~
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] ~If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~
- [ ] ~This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.~
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] ~The PR description includes the appropriate Release Notes
section, and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)~
- [ ] ~Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.~
viduni94 pushed a commit to viduni94/kibana that referenced this pull request Nov 5, 2025
## Summary

This PR adds FTR test for the Getting Started page, as well as a fix for
a bug that was picked up by the tests.

NOTE: I'm aware we should be moving over to Scout, but I thought it
might be easier (for me at least) to get these tests up and running
first and then convert them to Scout afterwards.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] ~Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)~
- [ ]
~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials~
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] ~If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~
- [ ] ~This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.~
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] ~The PR description includes the appropriate Release Notes
section, and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)~
- [ ] ~Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Search v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants